Log In  
[back to top]

[ :: Read More :: ]

Cart #29299 | 2016-09-24 | Code ▽ | Embed ▽ | No License
9

This is a first attempt at creating a bump map lighting effect. The funky gray plasma thing is just there for pizzazz. The world can always use more pizzazz.

-Electric Gryphon

P#29301 2016-09-24 15:36 ( Edited 2016-09-24 19:45)

[ :: Read More :: ]

Cart #28294 | 2016-09-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
31

Take your trusty ship to the far reaches of the infinite multiverse...and destroy the hostile life that you find there.
Clear each planet to warp to the next system.

Features:
-- 30 fps interlaced flight simulator
-- 3,375 or more different worlds, ranging from snowy ice-planets to verdant hills.*
-- 6 enemy types

*OK, so a lot of the worlds look similar, but the same could be said about certain other games...

P#28295 2016-09-11 00:28 ( Edited 2016-09-11 04:28)

[ :: Read More :: ]

Cart #27815 | 2016-09-01 | Code ▽ | Embed ▽ | No License
13

Old_version:

Cart #27480 | 2016-08-27 | Code ▽ | Embed ▽ | No License
13

Here's a peek at a voxel based flight simulator engine that I have been working on.
The engine is heavily inspired by Comanche:
https://en.wikipedia.org/wiki/Comanche_(series)

I've been having fun with the smooth and seamless map generation. Perhaps other folks can make use of that code.

I don't think that I am ever going to get the frame rate up to butter smooth 30fps without dropping the res so low that things are unreadable, but maybe a flight sim can settle at 15 and be okay.

Updates:
--Added controllable ship with shadow
--Up and down controls height
--Z controls thrust
--Rings to collect
--F to explore the ship / return to flight mode

-Electric Gryphon

P#27482 2016-08-27 15:25 ( Edited 2016-09-01 06:43)

[ :: Read More :: ]

Cart #21310 | 2016-05-25 | Code ▽ | Embed ▽ | No License
11

Cart #21308 | 2016-05-25 | Code ▽ | Embed ▽ | No License
11

Metablob! Now with even more tasty blobbiness, but at half the calories.

-Electric Gryphon

P#21309 2016-05-25 02:35 ( Edited 2016-05-25 19:10)

[ :: Read More :: ]

Cart #21107 | 2016-05-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
20

Structure is a rigid body simulation where you can add and remove points and struts. Essentially, this is "World of Goo" without the, well... "gooiness."

Z: add point and connecting struts to the nearest points
X: delete point and connecting struts
CLEAR: clear the screen

The jury is out on whether I will adapt this to fit the jam based on a loose interpretation of "CHAIN" reaction.

Electric Gryphon

P#21108 2016-05-22 18:18 ( Edited 2016-07-07 20:20)

[ :: Read More :: ]

Cart #19819 | 2016-04-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
76

Old version:

Cart #19701 | 2016-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
76

Clean the skies of sector Q97-C with your trusty mining laser.
Keep an eye out for debris, not to mention Turrets and Tormentors.

Controls:
Arrow keys control roll and yaw.
X-key accelerates.
Z-key fires laser.

Tips:
Full 3D navigation can be tricky, so keep an eye on your radar at the bottom.
It can be easier to sweep the laser up over targets than to try to hit them dead on.
Watch out because the laser uses your ship's power, which only refills slowly over time.

Version Notes:
Added music by Robby Duguay
-www.robbyduguay.com
Added sound effects

P#19702 2016-04-11 01:28 ( Edited 2017-09-19 03:52)

[ :: Read More :: ]

Cart #19522 | 2016-04-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
16

A funny thing happened on the way to making an actual game.

I found this odd fox statue floating in between the bits and bytes. I hope it's not lonely.

-ElectricGryphon

P#19523 2016-04-01 02:05 ( Edited 2016-05-05 07:53)

[ :: Read More :: ]

Hi All,

Has anyone built up inverse-sine and inverse-cosine functions?

Right now, we have cos(x), sin(x), and atan2(dx,dy). If all else fails, I can create a table function to look these up, but figured I'd ask around to avoid duplicating the work.

-Electric Gryphon

P#19306 2016-03-19 14:58 ( Edited 2016-03-20 20:08)

[ :: Read More :: ]

Cart #19204 | 2016-03-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

Manged to get 16 frames of full motion (if chunky) video compressed into here before running into the limits of the compressed cart size. Frames are stored as run-length encoded images, with only the difference between frames being noted/redrawn.

I used a custom python script and some elbow grease (file renaming and bulk resizing) to get the images converted into the string format.

-Electric Gryphon

P#19205 2016-03-13 03:56 ( Edited 2016-03-19 23:53)

[ :: Read More :: ]


This is a first pass at trying to do something like Out of This World (or Another World depending on which side of the pond you land on).

Background is a static, shaded vector image that is rendered once at the beginning of the scene into a temporary buffer and then copied to the screen every frame.

The man is a moving vector animation that is rendered to the screen every frame.

Things aren't really structured for an actual game yet, but at least this shows that the concept could work.

P#19045 2016-03-02 02:40 ( Edited 2016-03-06 03:08)

[ :: Read More :: ]


It's a filled polygon, smoothly tweened animation of a running cat. There's still a decent amount of space left for a program, or even more complex animation.

Thanks to Eadweard Muybridge for taking photos in the 1880's that are still useful today.

-Electric Gryphon

P#19024 2016-02-29 02:09 ( Edited 2016-03-01 01:39)

[ :: Read More :: ]

Cart #18991 | 2016-02-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
61

Relive the joy of the 80's with some key mashing and marble gobbling. Feed those peckish pachyderms as fast as you can to win.

This is a two to four player, shoulder to shoulder kind of game.

Up Arrow: Red
Down Arrow: Yellow
Left Arrow: Blue
Right Arrow: Green

If anyone feels an urge to replace the music with something better, please be my guest.

--Electric Gryphon

P#18992 2016-02-27 17:48 ( Edited 2016-05-29 19:15)

[ :: Read More :: ]


Here is the first pass at the Pico-8 Flight Simulator in filled and shaded 3D.

Explore an expansive, mountainous world and avoid crashing.
(Simulation might be a stretch, as nothing about the aircraft physics is actually modeled... but you have to start somewhere.)

Controls:
Left / Right Arrow: Turn
Up / Down Arrow: Increase / Decrease Pitch

I was feeling down about the frame rate, but then I looked at videos of flight simulators from the late 80's and early 90's and that made me feel better :-D.

Changes:
--Fixed movement bug

Next tasks:
--Cockpit graphics
--More varied terrain
--Some sort of goal (perhaps travel from airport to airport and land... like a real flight sim...)

-Electric Gryphon

P#18808 2016-02-13 14:39 ( Edited 2018-08-25 18:35)

[ :: Read More :: ]

Cart #18677 | 2016-02-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

This is a stepping stone to an overly-ambitious project.

I'm looking for a better way to sort a table of triangles--currently sorting speed for around 150 triangles is preventing me from having solid filled triangles.

Does anyone have a good quicksort implementation that could sort a list of triangles, where each triangle contains 3 points and a centroid "z" value?

triangle_list={}
function    new_triangle(p1,p2,p3,z,color)
    t={}
    t.p1=p1
    t.p2=p2
    t.p3=p3
    t.z=z
    t.color=color
    add(triangle_list,t)
end

function sort_by_z()
 ...
end

That said, I actually like the way that the wire-frame looks, and backface culling almost makes hills appear opaque.

P#18678 2016-02-06 21:34 ( Edited 2016-02-23 18:37)

[ :: Read More :: ]

Cart #18572 | 2016-02-01 | Code ▽ | Embed ▽ | No License
25

I'm playing with lighting effects to create a more moody atmosphere. Frame rate just isn't quite up to snuff though.

P#18573 2016-02-01 11:36 ( Edited 2016-06-16 00:19)

[ :: Read More :: ]

Cart #18391 | 2016-01-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
81

Old version:


Cart #18356 | 2016-01-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
81

Cart #18343 | 2016-01-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
81

Cart #18137 | 2016-01-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
81


It's a complete game now, with a title screen and a final boss.

--Arrow keys to move
--Z-key to fire
--X-key to strafe

Defeat the Star Beast on level three!
You start in the elevator. Use the Z key at the console to go up one floor, provided you have destroyed all robots and collected the keycard, which is hidden in the level.

--This is inspired by AfBu's 3D experiment, as well as Lode's Computer Graphics Tutorial on ray-casting, which uses a different stepping method than AfBu. (http://lodev.org/cgtutor/raycasting.html)
--Horizontal distortion effect borrowed from qbicfeet

P#18138 2016-01-04 01:07 ( Edited 2016-06-01 02:52)

[ :: Read More :: ]

Cart #picokart2_082-0 | 2019-09-23 | Code ▽ | Embed ▽ | No License
93

Old versions:

Cart #17953 | 2015-12-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
93


Cart #17738 | 2015-12-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
93

Compete in a 3D, high-speed go-cart race against computer-controlled mouse opponents in three challenging tracks.

New Features:
--Improved screen size and resolution
--Music from Gruber

P#17739 2015-12-12 21:56 ( Edited 2019-09-23 05:17)

[ :: Read More :: ]


This is a first attempt to render textured height maps in something close to real time. I guess these would be considered voxels?

I am casting rays from the screen and checking intersect with the floor plane to get an x,z coordinate. Then I load a pixel from the map for the color and a pixel from the map at an offset location to get a height value.

A neat feature is that shadows could be baked into the texture.

Code is ugly, buggy, and poorly optimized...

Issues:
--In order to keep the frame rate up while moving, I had to double pixel size.
--Looking up a pixel on the map is very slow, but I want to be able to handle 512x512 height maps and this is the best way I can think of. (512x512 color map and 512x512 height map)
--tall vertical walls jump in and out of existence, especially when at a distance. Actually, this happens with all pixels. Rounding errors perhaps?

I'm going to look at Zep's Raycast demo and see if there is anything in there that I can borrow.

-ElectricGryphon

P#17537 2015-12-05 20:19 ( Edited 2016-02-02 20:18)

[ :: Read More :: ]

Cart #17113 | 2015-11-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Old version:

Cart #17074 | 2015-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

It's a confetti factory simulation! (This is shamelessly inspired by an old AfterDark screensaver that I recall.)

Hit 'Z' to open or close valves.
Hit 'X' to change direction of conveyors.
Try to get the confetti into the correctly colored out bin in order to advance to the next level. Mixed confetti will reduce your score because it's really hard to sort after the fact.

-Electric Gryphon

P#17075 2015-11-26 15:08 ( Edited 2015-11-28 00:50)

[ :: Read More :: ]

Cart #17015 | 2015-11-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Old version:



Cart #17008 | 2015-11-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13


Cart #16914 | 2015-11-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13



I was inspired to start playing with wave physics.

-Electric Gryphon

P#16915 2015-11-23 10:55 ( Edited 2015-11-29 08:49)

View Older Posts